<script type="module" src="run.js"></script>
<textarea id="source" style="width:100%;height:500px;">
    function a(){
        let x;
    }
</textarea>
<button id="run" onclick="">run</button>